package com.example.demo.dao;

import com.example.demo.entity.Salesrecord;
import com.example.demo.entity.drugs;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SaleMapper {

    int AddSales_record(Salesrecord salesrecord);
    List<drugs> selectdrug(String drug_id);
    int UpdateAmount(Integer amount,String drug_id);

    int addReturn_drugs(Salesrecord salesrecord);
}
